home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
snip1292.zip
/
SSTRCPY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-26
|
220b
|
14 lines
#include <string.h>
char *sstrcpy(char *to, char *from)
{
memmove(to, from, 1+strlen(from));
return to;
}
char *sstrcat(char *to, char *from)
{
sstrcpy(to + strlen(to), from);
return to;
}